#include <stdio.h>
#include <string.h>

int main()
{
	int i = 0;
	char passwd[] = {0};
	while(i<=3)
	{
		printf("输入密码:");
	    scanf("%s",passwd);
		if(strcmp(passwd,"password")==0)
		{
			break;
		}
		if(i == 3)
		{
			printf("exit\n");
		} else {
			printf("log in\n");
		}
	}
	return 0;
}